package com.example.websocket.Service;

import com.example.websocket.Controller.R;
import com.example.websocket.pojo.Result;
import com.example.websocket.pojo.User;

import java.util.List;


public interface UserService  {

    Result login(String username, String pwd);

    List<User> GetFriend(String username);

    R AddFriend(String username,String fname);

    R DelFriend(String username, String dname);
}
